﻿using System;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    /// <summary>
    /// 动态列配置主表
    ///</summary>
    public class TableInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public string Id { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 表中文名
        /// </summary>
        public string? ColumnCNName { get; set; }

        /// <summary>
        /// 方法名
        /// </summary>
        public string? ActionName { get; set; }

        /// <summary>
        /// 前端页面路径
        /// </summary>
        public string? Path { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 删除标记
        /// </summary>
        public int? IsDelete { get; set; }
    }
}
